package com.cskaoyan.model.vo;

import com.cskaoyan.model.Brand;
import com.cskaoyan.model.Category;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @program: mall38
 * @description:
 * @author: Wang
 * @create: 2022-05-05 21:44
 **/

@Data
public class CatAndBrandDataVO {

    private List<BrandBeanVO>brandList;
    private List<CategoryBeanVO>categoryList;

    public static CatAndBrandDataVO data(List<BrandBeanVO> list1,List<CategoryBeanVO> list2) {
        CatAndBrandDataVO catAndBrandDataVO = new CatAndBrandDataVO();
        catAndBrandDataVO.setBrandList(list1);
        catAndBrandDataVO.setCategoryList(list2);
        return catAndBrandDataVO;
    }
}
